package com;

public class MathTeach implements TeacherInterface{

    @Override
    public void teach(Teach teach) {
        System.out.println(teach.getName() + "教数学");
    }

    @Override
    public void homework(Teach teach) {
        System.out.println(teach.getName() + "辅导三角函数");

    }
}
